package com.kc.data.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(scanBasePackages={"com.kc.data.*.controller", "com.kc.data.common.*"})
@MapperScan(basePackages = {"com.kc.data.common.mapper"})
@EnableDiscoveryClient
public class KcDataAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(KcDataAppApplication.class, args);
    }

}
